package org.example.maven.service.Impl;

import org.example.maven.entity.IdentityName;
import org.example.maven.mapper.IdentityNameMapper;
import org.example.maven.service.IIdentityNameService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zafkiel
 * @since 2025-07-30
 */
@Service
public class IdentityNameServiceImpl extends ServiceImpl<IdentityNameMapper, IdentityName> implements IIdentityNameService {

    @Override
    public void addIdentityName(IdentityName addIdentityName) {
        baseMapper.insertOrUpdate(addIdentityName);
    }
}
